import { NgModule } from '@angular/core'

import { SharedModule } from '@shared'
import { RouteRoutingModule } from './routes-routing.module'
// passport pages
import { UserLoginComponent } from './passport/login/login.component'
import { UserRegisterComponent } from './passport/register/register.component'
import { UserRegisterResultComponent } from './passport/register-result/register-result.component'
// single pages
import { CallbackComponent } from './callback/callback.component'
import { UserLockComponent } from './passport/lock/lock.component'
import { WelcomeModule } from './welcome/welcome.module'
import { StoreDetailTabTerminalComponent } from './store/detail/tab-terminal/tab-terminal.component'
import { StoreDetailTabQRChannelsComponent } from './store/detail/tab-qr-channels/tab-qr-channels.component'
import { StoreDetailTabCardChannelsComponent } from './store/detail/tab-card-channels/tab-card-channels.component'
import { StoreDetailTabSystemComponent } from './store/detail/tab-system/tab-system.component'
import { StoreDetailTabSettlementComponent } from './store/detail/tab-settlement/tab-settlement.component'
import { StoreDetailTabQRFunctionComponent } from './store/detail/tab-qr-function/tab-qr-function.component'
import { StoreDetailTabRiskControlComponent } from './store/detail/tab-risk-control/tab-risk-control.component'
import { StoreDetailTabUsersComponent } from './store/detail/tab-users/tab-users.component'

const COMPONENTS = [
  // passport pages
  UserLoginComponent,
  UserRegisterComponent,
  UserRegisterResultComponent,
  // single pages
  CallbackComponent,
  UserLockComponent,
]
const COMPONENTS_NOROUNT = [
]

@NgModule({
  imports: [ SharedModule, RouteRoutingModule, WelcomeModule ],
  declarations: [
    ...COMPONENTS,
    ...COMPONENTS_NOROUNT,
  ],
  entryComponents: COMPONENTS_NOROUNT
})
export class RoutesModule {}
